package object;

public class Test {
    public static void main(String[] args) {

        //使用计算器对象Calculator
        Calculator calculator = new Calculator();
        calculator.setBrand("小米");
        calculator.setSize(9.9);

        calculator.show();
        calculator.add(10, 20);


        GirlFriend girlFriend = new GirlFriend();
        girlFriend.setName("凤姐");
        girlFriend.setTall(155);
        girlFriend.setWeight(130);
        girlFriend.show();
        girlFriend.wash();
        girlFriend.cook();

    }
}
